﻿namespace zaklad_rtv
{
    public partial class Client : IDatabaseObject
    {
        public string FullString { get { return ToStringFull(); } }

        public override string ToString()
        {
            return string.Format("{0} {1}", LastName, FirstName);
        }

        private string ToStringFull()
        {
            return string.Format("{0} {1} ({2}, tel. {3})", LastName, FirstName, Address, Telephone);
        }
    }
}
